import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SArenaCrossGroupRingTime
    
    export  class SArenaCrossGroupRingTime extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SArenaCrossGroupRingTime();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.nextRing);
            arg1.writeInt(this.nextRingEx);
            arg1.writeDate(this.nextRingDt);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.nextRing = arg1.readInt();
            this.nextRingEx = arg1.readInt();
            this.nextRingDt = arg1.readDate();
            return;
        }

        public /* const */_type: int=361;

        public /* var */nextRing: int;

        public /* var */nextRingEx: int;

        public /* var */nextRingDt: Date;

        public static /* var */_regist: SArenaCrossGroupRingTime;
    }

            SArenaCrossGroupRingTime._regist = new SArenaCrossGroupRingTime(true);
        